package com.ddatsh.transaction.core.model;

import java.util.List;

import com.ddatsh.transaction.core.model.strategy.Strategy;
import com.ddatsh.transaction.core.model.validation.ValidationRule;


/**
 * 交易定义，定义每个交易的具体描述
 * 
 * @author ddatsh
 * @version 1.0
 */
public class TransactionDefinition implements java.io.Serializable {
	private static final long serialVersionUID = 8363251315974889312L;
	// 交易代码
	private String transCode;
	// 交易名称
	private String transName;
	// 交易规则
	private List<ValidationRule> rules;
	// 交易策略文件
	private List<Strategy> strategies;

	public String getTransCode() {
		return transCode;
	}

	public String getTransName() {
		return transName;
	}

	public List<ValidationRule> getRules() {
		return rules;
	}

	public List<Strategy> getStrategies() {
		return strategies;
	}

	public void setTransCode(String transCode) {
		this.transCode = transCode;
	}

	public void setTransName(String transName) {
		this.transName = transName;
	}

	public void setRules(List<ValidationRule> rules) {
		this.rules = rules;
	}

	public void setStrategies(List<Strategy> strategies) {
		this.strategies = strategies;
	}
}
